'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_SCARD = 0x10 (16)
    Public NotInheritable Class SCard
        Private Sub New()
        End Sub

        Public Shared ReadOnly SCARD_F_INTERNAL_ERROR As HResult = &H80100001
        Public Shared ReadOnly SCARD_E_CANCELLED As HResult = &H80100002
        Public Shared ReadOnly SCARD_E_INVALID_HANDLE As HResult = &H80100003
        Public Shared ReadOnly SCARD_E_INVALID_PARAMETER As HResult = &H80100004
        Public Shared ReadOnly SCARD_E_INVALID_TARGET As HResult = &H80100005
        Public Shared ReadOnly SCARD_E_NO_MEMORY As HResult = &H80100006
        Public Shared ReadOnly SCARD_F_WAITED_TOO_LONG As HResult = &H80100007
        Public Shared ReadOnly SCARD_E_INSUFFICIENT_BUFFER As HResult = &H80100008
        Public Shared ReadOnly SCARD_E_UNKNOWN_READER As HResult = &H80100009
        Public Shared ReadOnly SCARD_E_TIMEOUT As HResult = &H8010000A
        Public Shared ReadOnly SCARD_E_SHARING_VIOLATION As HResult = &H8010000B
        Public Shared ReadOnly SCARD_E_NO_SMARTCARD As HResult = &H8010000C
        Public Shared ReadOnly SCARD_E_UNKNOWN_CARD As HResult = &H8010000D
        Public Shared ReadOnly SCARD_E_CANT_DISPOSE As HResult = &H8010000E
        Public Shared ReadOnly SCARD_E_PROTO_MISMATCH As HResult = &H8010000F
        Public Shared ReadOnly SCARD_E_NOT_READY As HResult = &H80100010
        Public Shared ReadOnly SCARD_E_INVALID_VALUE As HResult = &H80100011
        Public Shared ReadOnly SCARD_E_SYSTEM_CANCELLED As HResult = &H80100012
        Public Shared ReadOnly SCARD_F_COMM_ERROR As HResult = &H80100013
        Public Shared ReadOnly SCARD_F_UNKNOWN_ERROR As HResult = &H80100014
        Public Shared ReadOnly SCARD_E_INVALID_ATR As HResult = &H80100015
        Public Shared ReadOnly SCARD_E_NOT_TRANSACTED As HResult = &H80100016
        Public Shared ReadOnly SCARD_E_READER_UNAVAILABLE As HResult = &H80100017
        Public Shared ReadOnly SCARD_P_SHUTDOWN As HResult = &H80100018
        Public Shared ReadOnly SCARD_E_PCI_TOO_SMALL As HResult = &H80100019
        Public Shared ReadOnly SCARD_E_READER_UNSUPPORTED As HResult = &H8010001A
        Public Shared ReadOnly SCARD_E_DUPLICATE_READER As HResult = &H8010001B
        Public Shared ReadOnly SCARD_E_CARD_UNSUPPORTED As HResult = &H8010001C
        Public Shared ReadOnly SCARD_E_NO_SERVICE As HResult = &H8010001D
        Public Shared ReadOnly SCARD_E_SERVICE_STOPPED As HResult = &H8010001E
        Public Shared ReadOnly SCARD_E_UNEXPECTED As HResult = &H8010001F
        Public Shared ReadOnly SCARD_E_ICC_INSTALLATION As HResult = &H80100020
        Public Shared ReadOnly SCARD_E_ICC_CREATEORDER As HResult = &H80100021
        Public Shared ReadOnly SCARD_E_UNSUPPORTED_FEATURE As HResult = &H80100022
        Public Shared ReadOnly SCARD_E_DIR_NOT_FOUND As HResult = &H80100023
        Public Shared ReadOnly SCARD_E_FILE_NOT_FOUND As HResult = &H80100024
        Public Shared ReadOnly SCARD_E_NO_DIR As HResult = &H80100025
        Public Shared ReadOnly SCARD_E_NO_FILE As HResult = &H80100026
        Public Shared ReadOnly SCARD_E_NO_ACCESS As HResult = &H80100027
        Public Shared ReadOnly SCARD_E_WRITE_TOO_MANY As HResult = &H80100028
        Public Shared ReadOnly SCARD_E_BAD_SEEK As HResult = &H80100029
        Public Shared ReadOnly SCARD_E_INVALID_CHV As HResult = &H8010002A
        Public Shared ReadOnly SCARD_E_UNKNOWN_RES_MNG As HResult = &H8010002B
        Public Shared ReadOnly SCARD_E_NO_SUCH_CERTIFICATE As HResult = &H8010002C
        Public Shared ReadOnly SCARD_E_CERTIFICATE_UNAVAILABLE As HResult = &H8010002D
        Public Shared ReadOnly SCARD_E_NO_READERS_AVAILABLE As HResult = &H8010002E
        Public Shared ReadOnly SCARD_E_COMM_DATA_LOST As HResult = &H8010002F
        Public Shared ReadOnly SCARD_E_NO_KEY_CONTAINER As HResult = &H80100030
        Public Shared ReadOnly SCARD_E_SERVER_TOO_BUSY As HResult = &H80100031
        Public Shared ReadOnly SCARD_W_UNSUPPORTED_CARD As HResult = &H80100065
        Public Shared ReadOnly SCARD_W_UNRESPONSIVE_CARD As HResult = &H80100066
        Public Shared ReadOnly SCARD_W_UNPOWERED_CARD As HResult = &H80100067
        Public Shared ReadOnly SCARD_W_RESET_CARD As HResult = &H80100068
        Public Shared ReadOnly SCARD_W_REMOVED_CARD As HResult = &H80100069
        Public Shared ReadOnly SCARD_W_SECURITY_VIOLATION As HResult = &H8010006A
        Public Shared ReadOnly SCARD_W_WRONG_CHV As HResult = &H8010006B
        Public Shared ReadOnly SCARD_W_CHV_BLOCKED As HResult = &H8010006C
        Public Shared ReadOnly SCARD_W_EOF As HResult = &H8010006D
        Public Shared ReadOnly SCARD_W_CANCELLED_BY_USER As HResult = &H8010006E
        Public Shared ReadOnly SCARD_W_CARD_NOT_AUTHENTICATED As HResult = &H8010006F
        Public Shared ReadOnly SCARD_W_CACHE_ITEM_NOT_FOUND As HResult = &H80100070
        Public Shared ReadOnly SCARD_W_CACHE_ITEM_STALE As HResult = &H80100071
        Public Shared ReadOnly SCARD_W_CACHE_ITEM_TOO_BIG As HResult = &H80100072
    End Class

End Namespace